package com.faneui.transfer.gateway.exception;

public class WmsException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int code;

	private String message;

	public WmsException(int code, String message) {
		super();
		this.code = code;
		this.message = message;
	}

	public WmsException(int code, String message, Throwable cause) {
		super(cause);
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return this.code;
	}

	@Override
	public String getMessage() {
		return this.message;
	}

}
